package com.gt.app.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableName;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 *
 * </p>
 *
 * @author caidesheng
 */
@Data
@ApiModel(value="EsLifeWayInfo", description="")
public class EsLifeWayInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "生活信息id      ")
    @TableId(value = "ordrowid", type = IdType.ASSIGN_ID)
    private String ordrowid;

    @ApiModelProperty(value = "筛选检查id      ")
    @TableField("ES_Check_id")
    private String esCheckId;

    @ApiModelProperty(value = "饮酒频率        ")
    private String drinkFrequency;

    @ApiModelProperty(value = "酒的名称        ")
    private String drinkName;

    @ApiModelProperty(value = "饮酒时间        ")
    private String drinkTime;

    @ApiModelProperty(value = "饮茶频率        ")
    private String teaFrequency;

    @ApiModelProperty(value = "茶的名称        ")
    private String teaName;

    @ApiModelProperty(value = "饮茶时间        ")
    private String teaTime;

    @ApiModelProperty(value = "是否饮隔夜茶    ")
    private String teaOvernightFlag;

    @ApiModelProperty(value = "吸烟频率        ")
    private String smokingFrequency;

    @ApiModelProperty(value = "饮酒量")
    private String drinkNum;

    @ApiModelProperty(value = "锻炼频率        ")
    private String physicalFrequency;

    @ApiModelProperty(value = "熬夜频率        ")
    private String stayLateFrequency;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

}
